ROOT=${PWD}/../
CPP=g++
INC=-I${ROOT}src
LIB=-L$(ROOT)lib -lfilequeue
CFLAGS= -g -fPIC -DLINUX -pipe -g

BIN=$(patsubst %.cpp, %, $(wildcard test*.cpp))

%:%.cpp
	${CPP} ${CFLAGS} -o $@ $< ${INC} ${LIB}

all: ${BIN}

clean:
	rm -f ${BIN} *.o core*
